<%@ Page Language="C#" MasterPageFile="~/Template.master" EnableViewState="false"
    AutoEventWireup="true" CodeFile="CreateAccount.aspx.cs" Inherits="CreateAccount"
    Title="Untitled Page" Culture="auto" meta:resourcekey="PageResource1" UICulture="auto" %>

<%@ Register Assembly="ESWebControls" Namespace="ESWebControls" TagPrefix="cc1" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:CreateUserWizard ID="CreateUser" runat="server"  EnableViewState="False" meta:resourcekey="CreateUserWizard1Resource1">
        <WizardSteps>
            <asp:CreateUserWizardStep runat="server" ID="CreateUserWizardStep1" meta:resourcekey="CreateUserWizardStep1Resource1">
                <ContentTemplate>
                <div class="item">
                    <h5>
                        <asp:Literal meta:resourcekey="CreateUserTitleLabel" ID="CreateUserTitleLabel" runat="server" /></h5>
                    <div class="body">
                    <table>
                        <tbody>
                            <tr>
                                <th>
                                    <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName" EnableViewState="False"
                                        meta:resourcekey="UserNameLabelResource1">User Name:</asp:Label>
                                </th>
                                <td>
                                    <asp:TextBox ID="UserName" runat="server" EnableViewState="True" AutoPostBack="true"
                                        meta:resourcekey="UserNameResource1">
                                
                                    </asp:TextBox>
                                </td>
                                <td>
                                    <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                        EnableViewState="False" ErrorMessage="User Name is required." meta:resourcekey="UserNameRequiredResource1"
                                        ToolTip="User Name is required." ValidationGroup="CreateUser">*</asp:RequiredFieldValidator>
                                </td>
                                <td style="width: 20px;">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <th>
                                    <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password" EnableViewState="False"
                                        meta:resourcekey="PasswordLabelResource1">Password:</asp:Label>
                                </th>
                                <td>
                                    <asp:TextBox ID="Password" runat="server" TextMode="Password" EnableViewState="False"
                                        meta:resourcekey="PasswordResource1"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                        ErrorMessage="Password is required." meta:resourcekey="PasswordRequiredResource1"
                                        ToolTip="Password is required." ValidationGroup="CreateUser">*</asp:RequiredFieldValidator>
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <th>
                                    <asp:Label ID="ConfirmPasswordLabel" runat="server" AssociatedControlID="ConfirmPassword"
                                        meta:resourcekey="ConfirmPasswordLabelResource1">Confirm Password:</asp:Label>
                                </th>
                                <td>
                                    <asp:TextBox ID="ConfirmPassword" runat="server" TextMode="Password" meta:resourcekey="ConfirmPasswordResource1"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:RequiredFieldValidator ID="ConfirmPasswordRequired" runat="server" ControlToValidate="ConfirmPassword"
                                        EnableViewState="False" ErrorMessage="Confirm Password is required." meta:resourcekey="ConfirmPasswordRequiredResource1"
                                        ToolTip="Confirm Password is required." ValidationGroup="CreateUser">*</asp:RequiredFieldValidator>
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <th>
                                    <asp:Label ID="EmailLabel" runat="server" AssociatedControlID="Email" EnableViewState="False"
                                        meta:resourcekey="EmailLabelResource1">E-mail:</asp:Label>
                                </th>
                                <td>
                                    <asp:TextBox ID="Email" runat="server" EnableViewState="False" meta:resourcekey="EmailResource1"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:RequiredFieldValidator ID="EmailRequired" runat="server" ControlToValidate="Email"
                                        EnableViewState="False" ErrorMessage="E-mail is required." meta:resourcekey="EmailRequiredResource1"
                                        ToolTip="E-mail is required." ValidationGroup="CreateUser">*</asp:RequiredFieldValidator>
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <th>
                                    <asp:Label ID="QuestionLabel" runat="server" AssociatedControlID="Question" EnableViewState="False"
                                        meta:resourcekey="QuestionLabelResource1">Security Question:</asp:Label>
                                </th>
                                <td>
                                    <asp:TextBox ID="Question" runat="server" meta:resourcekey="QuestionResource1"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:RequiredFieldValidator ID="QuestionRequired" runat="server" ControlToValidate="Question"
                                        EnableViewState="False" ErrorMessage="Security question is required." meta:resourcekey="QuestionRequiredResource1"
                                        ToolTip="Security question is required." ValidationGroup="CreateUser">*</asp:RequiredFieldValidator>
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <th>
                                    <asp:Label ID="AnswerLabel" runat="server" AssociatedControlID="Answer" EnableViewState="False"
                                        meta:resourcekey="AnswerLabelResource1">Security Answer:</asp:Label>
                                </th>
                                <td>
                                    <asp:TextBox ID="Answer" runat="server" meta:resourcekey="AnswerResource1"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:RequiredFieldValidator ID="AnswerRequired" runat="server" ControlToValidate="Answer"
                                        ErrorMessage="Security answer is required." meta:resourcekey="AnswerRequiredResource1"
                                        ToolTip="Security answer is required." ValidationGroup="CreateUser">*</asp:RequiredFieldValidator>
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <th>
                                    <asp:Label ID="CAPTCHALabel" runat="server" meta:resourcekey="CAPTCHALabelResource1"></asp:Label>
                                </th>
                                <td>
                                    <asp:TextBox ID="CaptchaText" runat="server" meta:resourcekey="CaptchaTextResource1"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:CompareValidator ID="CaptchaValidator" runat="server" ControlToCompare="CaptchaText"
                                        ControlToValidate="CAPTCHAImage" EnableClientScript="False" meta:resourcekey="CaptchaValidator"
                                        ValidationGroup="CreateUser">*</asp:CompareValidator>
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <th>
                                    &nbsp;
                                </th>
                                <td>
                                    <cc1:CaptchaControl ID="CAPTCHAImage" CssClass="CAPTCHAImage" runat="server" meta:resourcekey="CAPTCHAImageResource1" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td colspan="4">
                                    <asp:CompareValidator ID="PasswordCompare" runat="server" ControlToCompare="Password"
                                        ControlToValidate="ConfirmPassword" Display="Dynamic" ErrorMessage="The Password and Confirmation Password must match."
                                        ValidationGroup="CreateUser" EnableViewState="False" meta:resourcekey="PasswordCompareResource1"></asp:CompareValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="center" colspan="4" style="color: Red;">
                                    <asp:Literal ID="ErrorMessage" runat="server" EnableViewState="False" meta:resourcekey="ErrorMessageResource1"></asp:Literal>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    </div>
                    </div>
                </ContentTemplate>
            </asp:CreateUserWizardStep>
            <asp:CompleteWizardStep runat="server" meta:resourcekey="CompleteWizardStepResource1" />
        </WizardSteps>
    </asp:CreateUserWizard>
</asp:Content>
